package com.zmytest.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created on 2018/12/27.
 *
 * @author zhangmingyu
 */
@RestController
public class MainController {

    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }
}
